<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>医院论坛</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="医院论坛">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="jsTools/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="jsTools/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="jsTools/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    
    <script type="text/javascript" src="jsTools/jquery-ui-1.12.1.custom/jquery-ui.js"></script> 
    <link href="jsTools/jquery-ui-1.12.1.custom/jquery-ui.css" rel="stylesheet"></link> 
   
    <script src="jsTools/jquery-validation-1.16.0/dist/jquery.validate.min.js"></script>
    <script src="jsTools/jquery-validation-1.16.0/dist/localization/messages_zh.js"></script>
    <script src="jsTools/jquery-validation-1.16.0/dist/additional-methods.js"></script>
    
     <script src="jsTools/jquery.growl/javascripts/jquery.growl.js"></script>
    <link href="jsTools/jquery.growl/stylesheets/jquery.growl.css" rel="stylesheet"></link> 
    
    <link rel="stylesheet" href="jsTools/jquery-treeview-master/jquery.treeview.css" />
	<link rel="stylesheet" href="jsTools/jquery-treeview-master/screen.css" />
	<script src="jsTools/jquery-treeview-master/jquery.cookie.js"></script>
	<script src="jsTools/jquery-treeview-master/jquery.treeview.js" type="text/javascript"></script>
  
    	 
	<link rel="stylesheet" type="text/css" href="jsTools/jquery-easyui-1.5.1/themes/default/tree.css"> 
    <script type="text/javascript" src="jsTools/jquery-easyui-1.5.1/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jsTools/jquery-easyui-1.5.1/locale/easyui-lang-zh_CN.js"></script>
  </head>
  
  <body >
   <div class="container-fluid">
		
			<div class="col-sm-2 col-sm-offset-1" >
			  <div class="row clearfix" >
		    	<div class="easyui-panel" style="padding:5px;background-color: #C4E1FF;">			    	
	    			<ul class="easyui-tree" 
					data-options="
					url:'Forum/section.do',
					method:'post',
					animate:true,					
					formatter:function(node){
						if(node.children!='')
						{
							return node.text+'&nbsp(<span  style=\'color:blue\'>'+node.children.length+'</span>)';
						}
						else{
							return '<a href=\'Forum/topic/'+node.id+'.do\'> '+node.text+'</a>&nbsp<span class=\'label label-info\'>帖子数：'+node.topics.length+'</span>'
						}																			
					}">
				</ul>
				</div>
   			  </div>  	 			
		  </div>
			<div class="col-sm-8" background-color: #FFE6D9;>
					<iframe frameborder="0" scrolling="no" src="http://www.baidu.com" id="fame"  height="100%" width="100%"></iframe>
			</div>
   </div>
  </body>
  	
  <script type="text/javascript">
 	$(function(){
 			alert(0);
 	})
	
  </script>
</html>
